package com.ronghui.cash.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 认证相关 身份证信息表
 * </p>
 *
 * @author wiki
 * @since 2017-12-06
 */
@TableName("auth_identity")
public class AuthIdentity extends Model<AuthIdentity> {

    private static final long serialVersionUID = 1L;

	private Long id;
	private String name;
	private String identity;
	private String phone;
	@TableField("user_id")
	private Long userId;
    /**
     * 身份证正面照片（人像面）
     */
	@TableField("front_pic")
	private String frontPic;
    /**
     * 身份证反面照片（国徽面）
     */
	@TableField("reverse_pic")
	private String reversePic;
    /**
     * 手持身份照片
     */
	@TableField("hand_holding_pic")
	private String handHoldingPic;

	/**
     * 身份证照片状态：0、已上传，1、不通过
     */
	@TableField("audit_status")
	private Integer auditStatus;

	@TableField("create_time")
	private String createTime;
	private Integer status;

	public Integer getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(Integer auditStatus) {
		this.auditStatus = auditStatus;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getFrontPic() {
		return frontPic;
	}

	public void setFrontPic(String frontPic) {
		this.frontPic = frontPic;
	}

	public String getReversePic() {
		return reversePic;
	}

	public void setReversePic(String reversePic) {
		this.reversePic = reversePic;
	}

	public String getHandHoldingPic() {
		return handHoldingPic;
	}

	public void setHandHoldingPic(String handHoldingPic) {
		this.handHoldingPic = handHoldingPic;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
